package com.woniuxy.three.pms.bean;


import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties(value = {"handler"})
public class OrderBean {
    private Integer id;						//自增id
    
    private String orderNumber;		//订单号

    private String payNumber;			//支付订单号

    private String payType;				//支付方式		支付宝

    private BigDecimal totalPrice;		//总价

    private BigDecimal deposit;		//押金

    private String depositStatus;			//押金状态：  未交  已交  已退 

    private String createTime;				//订单时间

    private String status;					//订单状态	   预定中、已入住、已取消

    private String message;				//客户留言
    
    private BigDecimal sale;				//优惠价格

    private UserBean userId;					//用户对象

    private CommentBean cb;				//评论对象
    
    private List<OrderChildBean> ocb;			//订单子表
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber == null ? null : orderNumber.trim();
    }

    public String getPayNumber() {
        return payNumber;
    }

    public void setPayNumber(String payNumber) {
        this.payNumber = payNumber == null ? null : payNumber.trim();
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType == null ? null : payType.trim();
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public BigDecimal getDeposit() {
        return deposit;
    }

    public void setDeposit(BigDecimal deposit) {
        this.deposit = deposit;
    }

    public String getDepositStatus() {
        return depositStatus;
    }

    public void setDepositStatus(String depositStatus) {
        this.depositStatus = depositStatus == null ? null : depositStatus.trim();
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message == null ? null : message.trim();
    }

    public UserBean getUserId() {
        return userId;
    }

    public void setUserId(UserBean userId) {
        this.userId = userId;
    }

	public CommentBean getCb() {
		return cb;
	}

	public void setCb(CommentBean cb) {
		this.cb = cb;
	}

	
	public List<OrderChildBean> getOcb() {
		return ocb;
	}

	public void setOcb(List<OrderChildBean> ocb) {
		this.ocb = ocb;
	}

	
	
	public BigDecimal getSale() {
		return sale;
	}

	public void setSale(BigDecimal sale) {
		this.sale = sale;
	}

	@Override
	public String toString() {
		return "OrderBean [id=" + id + ", orderNumber=" + orderNumber + ", payNumber=" + payNumber + ", payType="
				+ payType + ", totalPrice=" + totalPrice + ", deposit=" + deposit + ", depositStatus=" + depositStatus
				+ ", createTime=" + createTime + ", status=" + status + ", message=" + message + ", sale=" + sale
				+ ", userId=" + userId + ", cb=" + cb + ", ocb=" + ocb + "]";
	}

	
   
    
}